<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body class="container">
    <h3 class="text-right text-dark mb-4">.min-vw-100类和.vw-100类的对比效果</h3>
    <h2 style="width: 1200px;" class="min-vw-100 bg-primary text-center">.min-vw-100</h2>
    <h2 style="width: 1200px;" class="vw-100 bg-success text-center">vw-100</h2>
</body>

</html>